﻿@{
    Layout = "../Shared/_Default.cshtml";
    ViewBag.PageTitle = T(Res.Name("Title"), JDM.String(Model.Topic.Title));
}

@section Toolbar
{
    <a href="@Url.Action(Loc.Act("Show").Ctrl("Topic").Area("Forum").Set(new
    {
        id = JDM.Int32(Model.Topic.EntityID)
    }).Localized())">@T(Res.In("Common").Of("Act").Name("Cancel"))</a>
    @if(Model.UserCanModerate)
    {
        <span class="separator">&middot;</span>
        <a class="confirm" href="@Url.Action(Loc.Act("Delete").Set(new
        {
            id = JDM.Int32(Model.Post.EntityID)
        }).Localized())">@T(Res.In("Common").Of("Act").Name("Delete"))</a>
    }
}
<div class="box">
    <section>
    @{
        Html.RenderPartial("_Update");
    }
    </section>
</div>
